package com.vueperson.vueperson.dao;

import com.vueperson.vueperson.entity.User;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface UserRepository extends Repository<User,Integer> {

    List<User> findByUsernameEquals(String name);
    List<User> findByUsernameAndPassword(String name,String password);
    List<User> findByUsernameLike(String name);
}




